package com.xzp.yygh.hosp.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xzp.yygh.model.hosp.BookingRule;
import com.xzp.yygh.model.hosp.Hospital;
import com.xzp.yygh.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface HospitalService {
    void save(Map<String, Object> switchMap);

    /**
     * 查询医院
     * @param hoscode
     * @return
     */
    Hospital getByHoscode(String hoscode);


    Page<Hospital> selectPage(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);


    void updateStatus(String id, Integer status);

    Map<String, Object> show(String id);

    String getHospName(String hoscode);


    List<Hospital> findByHosname(String hosname);

    Map<String, Object> getHospitalDetail(String hoscode);


}
